package com.hx.order.service;

import com.hx.common.result.PageResult;
import com.hx.order.pojo.Subscribe;

import java.util.*;

/**
 * subscribe业务逻辑层
 */
public interface SubscribeService {


    public List<Subscribe> findAll();


    public PageResult<Subscribe> findPage(int page, int size);


    public List<Subscribe> findList(Map<String,Object> searchMap);


    public PageResult<Subscribe> findPage(Map<String,Object> searchMap,int page, int size);


    public Subscribe findById(Long id);

    public void add(Subscribe subscribe);


    public void update(Subscribe subscribe);


    public void delete(Long id);

    public Subscribe findByDoctorId(Long doctorId,Date dutyTime);

}
